package cn.s1995.sloth.pay.biz.oo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * PayInfoVO
 *
 * @author Lex
 * @description
 * @date 2023/12/26 19:58
 */
@Data
@Schema(description = "支付参数")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PayParamVO {
    /**
     * 支付流水id
     */
    @Schema(description = "支付流水id")
    private String payFlowId;

    /**
     * 付款金额
     */
    @Schema(description = "付款金额")
    private BigDecimal payAmount;

    /**
     * 订单|支付信息
     */
    @Schema(description = "订单|支付信息")
    private Object body;

    /**
     * 支付链接
     */
    @Schema(description = "支付链接", example = "https://www.paypal.com/pay")
    private String payLink;

    /**
     * 支付状态：0.未支付 1.已支付 -1.支付失败
     */
    @Schema(description = "支付状态：0.未支付 1.已支付 -1.支付失败")
    private Integer payState;
}
